﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace stackFluent.Domain {

    public class RelaTagTag {

        [Key, Column(Order = 0)]
        public int TagId1 { get; set; }

        [Key, Column(Order = 1)]
        public int TagId2 { get; set; }

        public int ActId { get; set; }

        //Tag间的关联指数，完全相等是100。完全无关是0，此时原则上不应该建立这行数据。
        public int Grade { get; set; }
    }
}